// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router/myrouter.js'

Vue.config.productionTip = false
//装载Axios
import Axios from '@/config/axiosConfig.js'
Vue.prototype.$axios=Axios

//安装element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

//安装vuex
import store from '@/config/store.js'

//柱状图
/* 引入echarts */
import echarts from 'echarts'
//然后将echart添加到vue的原型上，这样就可以全局使用了
Vue.prototype.$echarts = echarts;


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  store
})
